package com.ostrich.module_home

import androidx.lifecycle.LiveData
import com.ostrich.library_net.BaseResponse
import com.ostrich.module_home.daily.entity.DailyEntity
import com.ostrich.module_home.discovery.entity.DiscoveryEntity
import com.ostrich.module_home.nominate.entity.NominateEntity
import retrofit2.http.GET

/**
 * @Author : yaotianxue
 * @Time : On 2023/10/27 11:15
 * @Description : HomeApi
 *
1.发现更多

请求地址：https://baobab.kaiyanapp.com/api/v7/index/tab/discovery?udid=fa53872206ed42e3857755c2756ab683fc22d64a&vc=591&vn=6.2.1&size=720X1280&deviceModel=Che1-CL20&first_channel=eyepetizer_zhihuiyun_market&last_channel=eyepetizer_zhihuiyun_market&system_version_code=19
2.每日推荐

请求地址： http://baobab.kaiyanapp.com/api/v5/index/tab/allRec
3.日报精选

请求地址 ： http://baobab.kaiyanapp.com/api/v5/index/tab/feed
 */
interface HomeApi {
    //推荐
    @GET("/api/v5/index/tab/allRec")
    fun nominate():LiveData<BaseResponse<MutableList<NominateEntity>>>
    //日报
    @GET("/api/v5/index/tab/feed")
    fun daily():LiveData<BaseResponse<MutableList<DailyEntity>>>

    //发现
    @GET("/api/v7/index/tab/discovery?udid=fa53872206ed42e3857755c2756ab683fc22d64a&vc=591&vn=6.2.1&size=720X1280&deviceModel=Che1-CL20&first_channel=eyepetizer_zhihuiyun_market&last_channel=eyepetizer_zhihuiyun_market&system_version_code=19")
    fun discovery():LiveData<BaseResponse<MutableList<DiscoveryEntity>>>


}